<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.6.0.min.js"></script>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <title>长沙新华</title>
    <style>
        * {
            padding: 0px;
            margin: 0px;
        }

        html {
            width: 100%;
            height: 100%;
        }

        body {
            width: 1920px;
            /* width: 100%; */
            height: 1080px;
            /* height: 100%; */
            background-image: url(images/landingpage_banner.png);
            background-repeat: no-repeat;
            /* background-attachment: fixed; */
        }

        #container {
            background-color: #ffffff;
            /* box-shadow: 10px 10px 15px rgba(0, 0, 255, 0.3); */
            box-shadow: 10px 10px 20px rgba(0, 0, 255, .2), -10px 0 20px rgba(0, 0, 255, .3);
            width: 911px;
            height: 540px;
            /* float: right; */
            position: absolute;
            top: 259px;
            left: 502px;
            border-radius: 50px;
        }

        input[type="button"] {
            background-color: #4a81e3;
            width: 653px;
            height: 74px;
            border-radius: 20px;
            font-size: 1.8em;
            font-weight: bold;
            color: aliceblue;
            position: absolute;
            top: 280px;
            left: -40px;
        }

        .log-img1 {
            position: relative;
            top: 43px;
            left: 277px;
        }

        .log-txt1 {
            color: #4a81e3;
            font-size: 32px;
            position: relative;
            top: 111px;
            left: 189px;
        }

        .log-txt-color1 {
            color: #4a81e3;
        }

        .log-txt-color2 {
            color: #3c3c3c;
        }

        div[name="yids"] {
            position: relative;
            top: 200px;
            left: 156px;
        }

        .log-txt2 {
            /* color: #3c3c3c; */
            font-size: 32px;
            position: relative;
            top: 111px;
            left: 402px;
        }

        .log-txt3 {
            color: #4a81e3;
            font-size: 32px;
            position: relative;
            top: -86px;
            left: 402px;
        }

        .log-txt-color3 {
            color: #e2d849;
        }

        .numb {
            /* width: ; */
            outline: none;
            font-size: 32px;
            border-style: hidden;
        }

        .yz,.psd {
            /* width: ; */
            outline: none;
            font-size: 32px;
            border-style: hidden;
        }

        .dis{
            display: none;
        }
        /* 顺序不可调 */
    </style>
</head>

<body>
    <!-- 背景图 -->
    <!-- <img src="images/landingpage_banner.png" alt="长沙新华" width=100%> -->
    <!-- 登录框 login -->
    <div id="container">
        <div id="login">
            <img class="log-img1" src="images/landingpage_logo.png" alt="logo" width="358px">
            <div style="height: auto;">
                <span class="log-txt1">验证码登录</span>
                <span class="log-txt2">密码登录</span>
            </div>
            <form action="" class="fo1" >
                <div name="yids" style="width: 599px;">
                    <input type="text" class="numb" name="number" placeholder="请输入手机号"><br>
                    <hr style="border: 1px solid #8b8b8b;">
                    <input type="password" class="yz" name="yanword" placeholder="请输入验证码">
                    <hr style="border: 1px solid #8b8b8b;">
                    <span class="log-txt3">获取验证码</span>
                    <!-- 提交按钮 submit -->
                    <input type="button" value="登&nbsp&nbsp录">
                </div>
            </form>
            <form action="" class="fo2" style="display:none;">
                <div name="yids" style="width: 599px;">
                    <input type="text" class="numb" name="number" placeholder="请输入手机号"><br>
                    <hr style="border: 1px solid #8b8b8b;">
                    <!-- <input type="password" class="yz" name="yanword" placeholder="请输入验证码"> -->
                    <input type="password" class="psd" name="password" placeholder="请输入密码">
                    <hr style="border: 1px solid #8b8b8b;">
                    <!-- 提交按钮 submit -->
                    <input type="button" value="登&nbsp&nbsp录">
                </div>
            </form>
            <!-- <h1 style="margin-bottom:0;">主要的框</h1> -->
        </div>
    </div>


    
    <script>
        $(function () {
            $("span.log-txt1").mouseenter(function () {
                $(".fo1").show();
                $(".fo2").hide();
                $("span.log-txt2").removeClass("log-txt-color1");
                $("span.log-txt2").addClass("log-txt-color2");
                $("span.log-txt1").removeClass("log-txt-color2");
            })
            $("span.log-txt2").mouseenter(function () {
                // $("span.log-txt3").hide();
                // $(".yz").hide();
                // $(".psd").show();
                $(".fo2").show();
                $(".fo1").hide();
                $("span.log-txt2").addClass("log-txt-color1");
                $("span.log-txt2").removeClass("log-txt-color2");
                $("span.log-txt1").addClass("log-txt-color2");
            })


            $("span.log-txt3").click(function () {
                $(this).addClass("log-txt-color3");
            })
        });
    </script>
</body>

</html>